<?php
	if($changed==1)
    {
?>
<script language="javascript">
	alert("<?php echo $this->document->text['warring_changepasssuccessfull']?>!")
	linkto('?');
</script>
<?php
    }
?>


<div class="section" id="sitemaplist">

	<div class="section-title"><?php echo $this->document->text['button_change_password']?></div>
    
    <div class="section-content">
    	
       <form name="f" action="" method="post">
            <div class="button right">
            	<input class="button" type="submit" name="save" value="<?php echo $this->document->text['button_save']?>" />
            	<input class="button" type="button" name="cancel" value="<?php echo $this->document->text['button_cancel']?>" onclick="linkto('index.php')"/>
            </div>
            <div class="clearer">^&nbsp;</div>
            
            <div class="profile">
            	
                <p>
                	<label>Current Password</label><br />
					<b><input class="text" size="50" name="oldpassword" type="password" value=""/></b>
                </p>
                
                <p>
                	<label>Enter new password</label><br />
					<b><input class="text" size="50" name="newpassword" type="password"/></b>
                </p>
                
                <p>
                	<label>Enter confirm password</label><br />
					<b><input class="text" size="50" name="confirmpassword" type="password"/></b>
                </p>
                
                <p>
                	<i style="color:#CC3300">
                    <b><?php echo $warring?></b>
                	<?php echo $Error['errornull']?>
                    <?php echo $Error['checkpass']?> 
                    <?php echo $Error['confirmpassword']?>
                    </i>
                </p>
            	
                
            
            </div>
        
        </form>
    </div>

</div>

 
      